package com.headline.service;

import com.headline.mapper.UserMapper;
import com.headline.pojo.User;
import com.baomidou.mybatisplus.extension.service.IService;
import com.headline.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;

/**
* @author Aloha
* @description 针对表【news_user】的数据库操作Service
* @createDate 2024-10-05 14:48:53
*/
public interface UserService extends IService<User> {


    Result login(User user);

    Result getUserInfo(String token);

    Result checkUserName(String username);

    Result regist(User user);
}
